﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormEmpleado.aspx.cs" Inherits="CapaPresentacion.FormEmpleado" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 99%;
        }
        .style2
        {
            width: 194px;
        }
    </style>
</head>
<body>
   <form id="form1" runat="server">
    <div>
    
       
        <center style="height: 451px">
            Mantenimiento de Empleado<br />
            <br />
            <br />
            
            <table style="width: 57%; height: 64px;">
                <tr>
                    <td class="style7">
                        Insertar&nbsp; Empelado</td>
                </tr>
            </table>
   <asp:Panel ID="Panel1" runat="server" Height="135px" Width="545px">
        <table class="style1">
            <tr>
                <td>
                    Empleado</td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
                <td class="style2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Nombre</td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
                <td class="style2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Apellidos</td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
                <td class="style2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Cargo</td>
                <td>
                    <asp:DropDownList ID="DropDownList1" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    &nbsp;</td>
                <td class="style2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="Button1" runat="server" Text="Nuevo" />
                </td>
                <td>
                    <asp:Button ID="Button2" runat="server" Text="Grabar" />
                </td>
                <td>
                    <asp:Button ID="Button3" runat="server" Text="Buscar" />
                </td>
                <td class="style2">
                    <asp:Button ID="Button4" runat="server" Text="Eliminar" />
                </td>
            </tr>
        </table>
        </center>
      <center>
       Listar Empleado<br />
     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
         BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" 
         CellPadding="3" CellSpacing="1" GridLines="None" Width="547px">
         <Columns>
             <asp:BoundField DataField="IdEmpleado" HeaderText="Empleado" />
             <asp:BoundField DataField="Nombre" HeaderText="Nombre" />
             <asp:BoundField DataField="Apellidos" HeaderText="Apellidos" />
             <asp:BoundField DataField="IdCargo" HeaderText="Cargo" />
         </Columns>
         <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
         <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
         <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
         <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
         <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
         <SortedAscendingCellStyle BackColor="#F1F1F1" />
         <SortedAscendingHeaderStyle BackColor="#594B9C" />
         <SortedDescendingCellStyle BackColor="#CAC9C9" />
         <SortedDescendingHeaderStyle BackColor="#33276A" />
     </asp:GridView>
            </asp:panel>
     </center>
    </form>
</body>
</html>
    